package com.ddstation.onsitelaw.service;


import com.ddstation.onsitelaw.model.AccountModel;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


/**
 *
 */
public interface DataImportService {
    /**
     * 下载模板
     *
     * @param response
     * @param request
     * @return
     */
    Integer downloadTemplate(HttpServletResponse response, HttpServletRequest request);

    /**
     * 导入模板
     *
     * @param file
     */
    void importExcel(MultipartFile file, AccountModel account) throws Exception;

}
